//
//  KRLTimelineModel.m
//  KaraLive
//
//  Created by Zhijia Zhong on 2018/9/14.
//  Copyright © 2018年 naxigoren. All rights reserved.
//

#import "KRLTimelineModel.h"

@implementation KRLTimelineModel

+ (NSDictionary *)modelCustomPropertyMapper {
    return @{@"createTime" : @"createtime",
             @"likes" : @"good",
             @"nickname" : @"nicename",
             @"tid" : @"id",
             @"musicName": @"music_name",
             };
}

- (NSString *)description {
    return [NSString stringWithFormat:@"<%@: %p {"
            "\ncreateTime = %f"
            "\naddress = %@"
            "\nthumb = %@"
            "\ncontent = %@"
            "\nlikes = %ld"
            "\ncomments = %ld"
            "\nviews = %ld"
            "\nshares = %ld"
            "\nuid = %ld"
            "\nnickName = %@"
            "\navatar = %@"
            "\ntype = %ld"
            "\ntid = %ld"
            "\nisPraised = %d"
            "\nmusicName = %@}>", [self class], self, _createTime, _address, _thumb, _content, _likes, _comments, _views, _shares, _uid, _nickname, _avatar, _type, _tid, _isPraised, _musicName];
}

@end
